package com.sakura.util.annotationPractice.NotNull;

import javax.validation.Valid;

/**
 * Created by apple on 2018/7/18.
 */
public class Test {
    public void test(@Valid NotNullTest notNullTest){
        System.out.println("test");
    }

    public static void main(String[] args) {
        Test test = new Test();
        NotNullTest notNullTest = new NotNullTest(null);
        test.test(notNullTest);
    }
}
